package com.itheima.dto;

import java.math.BigDecimal;
import java.util.List;

/**
 * date: 2022/5/19 13:56
 *
 * @author daya000
 */
public class DishAddDto {
    private String name;
    private BigDecimal price;
    private Integer code;
    private String image;
    private String description;
    private Integer status;
    private String catgoryId;
    private List<AddFlavorsDto> flavors;

    public DishAddDto(String name, BigDecimal price, Integer code, String image, String description, Integer status, String catgoryId, List<AddFlavorsDto> flavors) {
        this.name = name;
        this.price = price;
        this.code = code;
        this.image = image;
        this.description = description;
        this.status = status;
        this.catgoryId = catgoryId;
        this.flavors = flavors;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCatgoryId() {
        return catgoryId;
    }

    public void setCatgoryId(String catgoryId) {
        this.catgoryId = catgoryId;
    }

    public List<AddFlavorsDto> getFlavors() {
        return flavors;
    }

    public void setFlavors(List<AddFlavorsDto> flavors) {
        this.flavors = flavors;
    }
}
